package com.example.hand.repository;

import com.example.hand.dataobject.CarInfo;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

public interface CarInfoRepository extends JpaRepository<CarInfo,Integer>,JpaSpecificationExecutor<CarInfo> {

    Page<CarInfo> findAllByOrderByModifyTimeDesc(Pageable pageable);
}
